<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="css/baitiao.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">

</script>
<title>添加课程信息</title>
</head>
<body align="center"
	style="background-image: url(images/addcalss.jpg); background-size: 100%; background-repeat: no-repeat;">
	<%
        Object message = request.getAttribute("message");
        if (message != null && !"".equals(message)) {
    %>
	<script type="text/javascript">
              alert("<%=request.getAttribute("message")%>");
              var  asd=request.getAttribute("name");         
    </script>
	<%
        }
    %>
	<div style="margin-top: 50px">
		<img src="images/logo11.png">
	</div>
	<div align="center" style="padding-top: 60px;">
		<form action="Servlet?method=claadd" method="post">
			<div
				style="border: 5px solid white; width: 350px; height: 250px; border-radius: 35px; padding-top: 20px; margin: 15px; color: white;">
				<h2 style="color: #ffff66;">添加课程信息</h2>
				<table>

					<tr>
						<th style="color: #99ff00">课程编号：</th>
						<td><input name="hao" type="text" /></td>
					</tr>
					<tr>
						<th style="color: #00bfff">课程名称：</th>
						<td><input name="name" type="text" /></td>
					</tr>
					<tr>
						<th style="color: #ffccff">选课人数：</th>
						<td><input name="number" type="text" /></td>
					</tr>

					<tr>

						<td><input type="submit" value="返回"
							style="float: left; width: 65px; height: 30px; margin-top: 30px; background-color: #ccffff; margin-left: 50px;"
							onclick="location.href='allteacher.jsp'" " />
						<td><input type="submit" value="提交"
							style="float: right; width: 65px; height: 30px; margin-top: 30px; background-color: #ccffff; margin-right: 50px;" /></td>
						</td>
					</tr>

				</table>
			</div>



		</form>
	</div>
	<div
		style="width: 100%; height: 10px; position: absolute; bottom: 14%; color: white;">
		<h1>当前用户：${prename }</h1>
	</div>
	<div class="loginbm">
		<p
			style="width: 100%; height: 30px; font-size: 25px; color: white; margin-top: 120px; position: absolute; bottom: 0; text-align: center; background: url(../images/loginbg2.png) repeat-x;">版权所有第六组，仅供实训使用，如用于任何商业用途，记得打钱</p>
	</div>
</body>
</html>